﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Ext.Net.MVC;
using System.ComponentModel.DataAnnotations;

namespace SocialGame.Models
{
    [Model(Name = "QuestionType")]
    [JsonWriter(Encode = true, Root = "data")]
    public class QuestionTypeModel
    {
     
        [Display(Name = "Mã câu hỏi")]
        [PresenceValidation]
        public string QuestionType
        {
            get;
            set;
        }
        [Display(Name = "Loại câu hỏi")]
        [PresenceValidation]
        public string QuestionName
        {
            get;
            set;
        }

    }
}